home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct02040.geo / 00025.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  1.8 KB  |  91 lines

  1. on startMovie
  2.   Set_CDcounter(4)
  3.   initLesson()
  4.   CheckForTagWd()
  5.   Set_NEXT(1)
  6. end
  7.  
  8. on TheinitCursor theList, theCursor
  9.   initCursorCastNum()
  10.   initCursorList(theList)
  11.   set CursorCastNum to getCursor(theCursor)
  12.   cursor([CursorCastNum, CursorCastNum + 1])
  13. end
  14.  
  15. on checkScreenStatus
  16.   CheckRollOver()
  17.   CheckSnakeStatus()
  18.   go(the frame)
  19. end
  20.  
  21. on BlinkNext
  22.   if (the timer > getTimer()) and not soundBusy(2) then
  23.     startTimer()
  24.     if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
  25.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
  26.     else
  27.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
  28.     end if
  29.   end if
  30. end
  31.  
  32. on PressBtn theBtn
  33.   Set_PressedLast(theBtn)
  34.   switchButt(Get_AnsSprite() + theBtn - 1, "down" & theBtn, "HandleBtn" && theBtn)
  35. end
  36.  
  37. on GoNext
  38.   if not get_Disabled() then
  39.     sound stop 2
  40.     set nextVal to Get_NEXT()
  41.     if nextVal = 1 then
  42.       go("t1")
  43.     else
  44.       if nextVal = 2 then
  45.         go("t2")
  46.       else
  47.         if nextVal = 3 then
  48.           go("t3")
  49.         else
  50.           if nextVal = 4 then
  51.             go("t4")
  52.           else
  53.             if nextVal = 5 then
  54.               go("t5")
  55.             else
  56.               GoNextMovie()
  57.               exit
  58.             end if
  59.           end if
  60.         end if
  61.       end if
  62.     end if
  63.     Set_NEXT(Get_NEXT() + 1)
  64.   end if
  65. end
  66.  
  67. on stopMovie
  68.   sound stop 1
  69.   unLoad()
  70.   setEmptyCursor()
  71. end
  72.  
  73. on GoNextMovie
  74.   PlaySound("GOSOUND.SO1")
  75.   SaveHilite()
  76.   Add_CDcounter(1)
  77.   set cdNum to Get_CDcounter()
  78.   set movieName to item cdNum of Get_CurrentSnakeScreens()
  79.   go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
  80. end
  81.  
  82. on set_MarkSprite theNum
  83.   global MarkSprite
  84.   set MarkSprite to theNum
  85. end
  86.  
  87. on Get_MarkSprite
  88.   global MarkSprite
  89.   return MarkSprite
  90. end
  91.